app.controller('WeixinSubscribeController', ['$scope', function($scope) {}]);

app.config([
  '$routeProvider', function($routeProvider) {
    $routeProvider.when('/weixin', {
      redirectTo: '/weixin/subscribe'
    });
    $routeProvider.when('/weixin/subscribe', {
      controller: 'WeixinSubscribeController',
      templateUrl: '/admin/tmpl/weixin_subscribe'
    });
    $routeProvider.when('/weixin/subscribe', {
      controller: 'WeixinSubscribeController',
      templateUrl: '/admin/tmpl/weixin_subscribe'
    });
    $routeProvider.when('/weixin/auto', {
      controller: 'WeixinAutoController',
      templateUrl: '/admin/tmpl/weixin_auto'
    });
    return $routeProvider.when('/weixin/keyword', {
      controller: 'WeixinKeywordController',
      templateUrl: '/admin/tmpl/weixin_keyword'
    });
  }
]);
